home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Acao / SpeedDrill.swf / scripts / DefineButton2_14 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2007-09-27  |  948 b   |  31 lines

  1. on(release){
  2.    if(_root.fsingle == 1)
  3.    {
  4.       if(_root.playername == "" || _root.playername == undefined)
  5.       {
  6.          this.attachMovie("Φ¡ªσæè-µ£¬σàÑσè¢","NoName",1);
  7.          this.NoName._x = 0;
  8.          this.NoName._y = 12;
  9.       }
  10.       else if(_root.playername.length > 20)
  11.       {
  12.          this.attachMovie("Φ¡ªσæè-σàÑσ袵íüΦ╢à","InputOver",1);
  13.          this.InputOver._x = 0;
  14.          this.InputOver._y = 12;
  15.       }
  16.       else
  17.       {
  18.          _root.fsingle = 0;
  19.          var postForm = new LoadVars();
  20.          postForm.playern4m3 = _root.playername;
  21.          postForm.score2a5fe = _root.bestSCORE[3];
  22.          postForm.titlef3g8o = _root.bestSCORE[3];
  23.          postForm.specal77vq = "SINGLE";
  24.          postForm.useridms50 = _root.GameID;
  25.          postForm.threadid39 = _root.ThreadID;
  26.          postForm.send("ranking2.php","_blank","POST");
  27.          _root.TourokuBT.removeMovieClip();
  28.       }
  29.    }
  30. }
  31.